package com.edu.app.service.sys.core;

import com.edu.app.bean.core.SysUser;
import com.edu.app.bean.core.popup.UsersPop;
import com.edu.app.model.UserModel;
import com.edu.app.service.sys.BaseService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserService extends BaseService<SysUser> {
    //用户相关
    SysUser getUserByName(String userName);
    List<UsersPop> getUsersPop();
    List<UsersPop> getUsersPopByName(String name);
    UserModel getUserModelById(Integer id);
    List<SysUser> getUserListByType(String roleName, Integer status);
    List<SysUser> getUserListForWxNotifications();

    void createTenantUser(SysUser user,String company);
    void assignRole2TenantUser(SysUser user );

}
